﻿<MudPopoverProvider></MudPopoverProvider>

<MudTimePicker Label="With action buttons" @bind-Time="time">
    <PickerActions>
        <MudButton Class="mr-auto align-self-start" OnClick="@(() => context.Clear())">Clear</MudButton>
        <MudButton OnClick="@(() => context.Close(false))">Cancel</MudButton>
        <MudButton Id="theCloseButton" Color="Color.Primary" OnClick="@(() => context.Close())">Ok</MudButton>
    </PickerActions>
</MudTimePicker>

@code{
    TimeSpan? time = new TimeSpan(00, 45, 00);
}